package guess;

/**
 * 电脑类
 */
public class Computer extends Role{
    public Computer(){}
    public Computer(String name){
        super(name);
    }

    /**
     * 电脑出拳
     * @return
     */
    public int guess(){
        return (int)(Math.random() * 3);
    }
}
